//package com.weather.config;
//
//import com.baomidou.mybatisplus.plugins.PaginationInterceptor;
//import org.mybatis.spring.annotation.MapperScan;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//@Configuration
//@MapperScan(value = "com.weather.modules.mapper.**")   //扫描的mapper包,必须写
//public class MybatisPlusConfig {
//    @Bean
//    public PaginationInterceptor paginationInterceptor(){
//        PaginationInterceptor page = new PaginationInterceptor();
//        //设置方言类型
//        page.setDialectType("mysql");
//        return page;
//    }
//}
